Skip to content

build(deps): bump com.squareup:kotlinpoet from 2.2.0 to 2.3.0#269

Open
dependabot[bot] wants to merge 1 commit intoversion/1.21.11from
dependabot/gradle/com.squareup-kotlinpoet-2.3.0
Open

build(deps): bump com.squareup:kotlinpoet from 2.2.0 to 2.3.0#269
dependabot[bot] wants to merge 1 commit intoversion/1.21.11from
dependabot/gradle/com.squareup-kotlinpoet-2.3.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Mar 28, 2026

Bumps com.squareup:kotlinpoet from 2.2.0 to 2.3.0.

Release notes

Sourced from com.squareup:kotlinpoet's releases.

2.3.0

Thanks to @​haruue, @​hfhbd, @​yz4230, @​mina-jaff, @​BoD, @​RaoPrashanth for contributing to this release.

  • New: Kotlin 2.3.20.
  • New: KSP 2.3.6.
  • New: Support for defining type aliases inside other types. (#2167)
  • New: Add TypeName.annotated() convenience API for adding annotations to types. (#2281)
  • New: Add FileSpec.addImport(MemberName) to explicitly import a member. (#2198)
  • New: Add NameAllocator.contains to check if a given tag is already allocated. (#2160)
  • New: :interop:javapoet module has been discontinued and is not published starting with this release. (#2292)
  • New: In-development snapshots are now published to the Central Portal Snapshots repository at https://central.sonatype.com/repository/maven-snapshots/. (#2135)
  • Fix: Annotation array parameters with annotation elements now correctly handled. (#2142)
  • Fix: KType.asTypeName now correctly handles recursively bound generics (e.g. T : Comparable<T>). (#2162)
  • Fix: Don't convert multi-statement function to expression body. (#2163)
  • Fix: FunSpec.beginControlFlow now accepts nullable arguments for consistency with CodeBlock.beginControlFlow. (#2174)
  • Fix: Ignore illegal characters inside escaped identifiers. (#2204)
  • Fix: emitNullable correctly when deferring type in CodeWriter. (#2217)
  • Fix: Escape /* and */ when emitting Kdoc. (#2258)
  • Fix: Generate imports for extension members used via %M in KDocs. (#2266)
Changelog

Sourced from com.squareup:kotlinpoet's changelog.

Version 2.3.0

Thanks to [@​haruue][haruue], [@​hfhbd][hfhbd], [@​yz4230][yz4230], [@​mina-jaff][mina-jaff], [@​BoD][BoD], [@​RaoPrashanth][RaoPrashanth] for contributing to this release.

2026-05-27

  • New: Kotlin 2.3.20.
  • New: KSP 2.3.6.
  • New: Support for defining type aliases inside other types. (#2167)
  • New: Add TypeName.annotated() convenience API for adding annotations to types. (#2281)
  • New: Add FileSpec.addImport(MemberName) to explicitly import a member. (#2198)
  • New: Add NameAllocator.contains to check if a given tag is already allocated. (#2160)
  • New: :interop:javapoet module has been discontinued and is not published starting with this release. (#2292)
  • New: In-development snapshots are now published to the Central Portal Snapshots repository at https://central.sonatype.com/repository/maven-snapshots/. (#2135)
  • Fix: Annotation array parameters with annotation elements now correctly handled. (#2142)
  • Fix: KType.asTypeName now correctly handles recursively bound generics (e.g. T : Comparable<T>). (#2162)
  • Fix: Don't convert multi-statement function to expression body. (#2163)
  • Fix: FunSpec.beginControlFlow now accepts nullable arguments for consistency with CodeBlock.beginControlFlow. (#2174)
  • Fix: Ignore illegal characters inside escaped identifiers. (#2204)
  • Fix: emitNullable correctly when deferring type in CodeWriter. (#2217)
  • Fix: Escape /* and */ when emitting Kdoc. (#2258)
  • Fix: Generate imports for extension members used via %M in KDocs. (#2266)
Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [com.squareup:kotlinpoet](https://github.com/square/kotlinpoet) from 2.2.0 to 2.3.0.
- [Release notes](https://github.com/square/kotlinpoet/releases)
- [Changelog](https://github.com/square/kotlinpoet/blob/main/docs/changelog.md)
- [Commits](square/kotlinpoet@2.2.0...2.3.0)

---
updated-dependencies:
- dependency-name: com.squareup:kotlinpoet
  dependency-version: 2.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file java Pull requests that update java code labels Mar 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file java Pull requests that update java code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants